package com.lin.eat.entry;

public class ShoppingCar {

    private String s_id;
    private String g_id;
    private int s_number;
    private int s_state;

    public ShoppingCar() {
    }

    public ShoppingCar(String s_id, String g_id, int s_number) {
        this.s_id = s_id;
        this.g_id = g_id;
        this.s_number = s_number;
    }

    public ShoppingCar(String s_id, String g_id, int s_number, int s_state) {
        this.s_id = s_id;
        this.g_id = g_id;
        this.s_number = s_number;
        this.s_state = s_state;
    }

    @Override
    public String toString() {
        return "ShoppingCar{" +
                "s_id='" + s_id + '\'' +
                ", g_id='" + g_id + '\'' +
                ", s_number=" + s_number +
                ", s_state=" + s_state +
                '}';
    }

    public String getS_id() {
        return s_id;
    }

    public void setS_id(String s_id) {
        this.s_id = s_id;
    }

    public String getG_id() {
        return g_id;
    }

    public void setG_id(String g_id) {
        this.g_id = g_id;
    }

    public int getS_number() {
        return s_number;
    }

    public void setS_number(int s_number) {
        this.s_number = s_number;
    }

    public int getS_state() {
        return s_state;
    }

    public void setS_state(int s_state) {
        this.s_state = s_state;
    }
}
